<%@ taglib uri="/webwork" prefix="ww"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'adminLogin.jsp' starting page</title>
	<meta http-equiv="description" content="This is my page">
	
	<script type="text/javascript" src="/CommonSale/js/validator.js">
	</script>
		
  </head>
  
  
  <body>
    <jsp:include page="/include/actionErrors.jsp" />

	<!--  
	暂时放弃客户端验证。表单验证由服务器端来验证。
		<form action="adminLogin.action" method="post"
			onSubmit="return Validator.Validate(this,2)">
	-->		
	
	<form action="adminLogin.action" method="post">

			<table>
			
				<tr>
					<td>
						<ww:text name="admin.userName" />
					</td>
					<td>
						<input name="adminName" type="text" dataType="Require"
							msg="<ww:text name="admin.login.userNameIsNull"/>" />
					</td>
				
				</tr>

				<tr>
					<td>
						<ww:text name="admin.password" />
					</td>
					<td>
						<input name="adminPassword" type="text" dataType="Require"
							msg="<ww:text name="admin.login.PasswordIsNull"/>" />
					</td>
				</tr>
			
				<tr>
				<td colspan="2">
				<input type="submit" value="<ww:text name="button.login" />" />
				</td>
				</tr>
				
			</table>
		</form>
	</body>
</html>
